package com.centriole.service.workflow.enums;

/**
 * 	自定义节点各种属性的常量类
 */
public class FlowNode {
	//节点类型
	public static final String START="start round";
	public static final String USER_TASK="userTask";
	public static final String MULTI_TASK="multiTaskOr";
	public static final String EXAMINE="examine";
	public static final String END="end round";
	public static final String MULTI_TASK_CHILD = "multiTaskOrChild";
	//节点
	public static final String NODE_TYPE="type";
	public static final String NODE_NAME="name";
	public static final String NODE_VIEWPAGEID="viewPageId";
	public static final String NODE_EDITPAGEID="editPageId";
	public static final String NODE_FUNCTIONID="functionId";
	public static final String NODE_CONDITIONS="conditions";
	public static final String CONDITIONS_DEFAULT="default";
	public static final String NODE_TASKS="tasks";
	public static final String CURRENT_USER = "${currentUser}";
	//节点属性,任务执行者是个人还是组任务等
	public static final String FKTYPE="fkType";
	public static final String FKID="fkId";
	public static final String FKUSER="user";
	public static final String FKGROUP="group";
	public static final String RADIOID="radioId";
	public static final String ROLE="role";
	public static final String EXECUTIVE="executive";
	
	//链接线
	public static final String LINE_TYPE="type";
	public static final String LINE_FROM="from";
	public static final String LINE_TO="to";
	
	//通知
	public static final String NOTICES="notices";
	public static final String NOTICE_NOTICEWAY="noticeWay";
	public static final String NOTICE_PROMOTER="noticePromoter";
	public static final String NOTICE_ROLE="noticeRole";
	public static final String NOTICE_EXECUTIVE="noticeExecutive";
	public static final String NOTICE_TITLE="title";
	public static final String NOTICE_CONTENT="content";
	public static final String NOTICE_FKTYPE="fkType";
	public static final String NOTICE_FKID="fkId";
	
	//操作表示
	public static final String ALLOW_STOP="allowStop";
	public static final String ALLOW_RECALL ="allowRecall";
	public static final String ALLOW_HANG="allowHang";
	
	//表示按钮激活状态 1表示 未激活；0表示 激活
	public static final String SWITCH_ON="0";
	public static final String SWITCH_OFF="1";
	
	public static final String MULTI_TASK_PREFIX = "(多任务)";
	public static final String EXAMINE_PREFIX = "(审批)";
	public static final String EXAMINE_AGREE = "同意";
	public static final String EXAMINE_REJECT = "驳回";
	public static final String EXAMINE_AGREE_ENGLISH = "allowTask";
	public static final String EXAMINE_REJECT_ENGLISH = "rejectTask";
	
	public static final String HISTORY_LEVEL_A = "0";
	public static final String HISTORY_LEVEL_B = "1";
	
	public static final String REVOCATION ="撤回";
	public static final String SUSPENSION = "挂起流程";
	public static final String TERMINATION = "终止流程";
	public static final String ACTIVATION = "激活流程";
	public static final String startNodeName ="流程启动";
}
